import { inject } from "vue"
import { FormProps } from "ant-design-vue"

export const formContextKey = Symbol("formContextKey")

export function useFormContext() {
  return inject<FormProps>(formContextKey, {})
}
